package com.sjr.easy.chat.mapper;

import com.sjr.easy.chat.model.OutboxMessage;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OutboxMessageMapper extends BaseMapper<OutboxMessage> {

    List<OutboxMessage> getNewOutboxMessageList(@Param("targetUserId") Long targetUserId, @Param("size") Integer size);
}